//
//  ViewController.m
//  利用runtime为分类添加成员变量
//
//  Created by xiakexing on 2018/4/16.
//  Copyright © 2018年 xiakexing. All rights reserved.
//

#import "ViewController.h"

#import "Person.h"
#import "Person+name.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    Person * per = [[Person alloc] init];
    per.name = @"热泪";
    NSLog(@"%@", per.name);
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
